﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;

public class FinishPoint : MonoBehaviour {

	public string nextLevelName;

	protected SpriteRenderer _spriteRenderer;

	void Start () {
		_spriteRenderer = GetComponentInChildren<SpriteRenderer>();
		_spriteRenderer.DOFade(0.5f, 1f).SetLoops(-1, LoopType.Yoyo);
	}

}
